package com.lanjiu.lib.imclient.ims.offline;

/**
 * @description:
 * @author: Panwei
 * @date: 2020/3/28 11:06
 */
public abstract class OfflineTimeoutRunnable implements Runnable {

    private int mPageIndex;

    @Override
    public void run() {
        onTimeoutRun(mPageIndex);
    }

    public abstract void onTimeoutRun(int page);

    public OfflineTimeoutRunnable(int page) {
        this.mPageIndex = page;
    }

    public void setPage(int page) {
        this.mPageIndex = page;
    }
}
